﻿<%@ Page Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="BBS.aspx.cs" Inherits="Theme_index_BBS" Title="Untitled Page" %>


<%--<%@ Register Src="UserControls/left.ascx" TagName="left" TagPrefix="left" %>--%>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div class="new_01">
		<div class="position">首页 &gt;&gt; 班级互动讨论区</div>
        <div class="my_calss">
          <div class="list">
            <ul>
          
              <li>
                <asp:TextBox ID="txt_KeyWord" runat="server"></asp:TextBox>
                <asp:Button ID="Button1" runat="server" class="inputBotton2" OnClick="btn_seach_Click" Text="搜索" />&nbsp;
                <asp:Button ID="btn_Add" runat="server" class="inputBotton2" Text="新帖子" OnClick="btn_Add_Click" />
              </li>
            </ul>
          </div>
          <div class="jyzx5_01">
          
          
          
            <asp:Repeater ID="rpt_BBS" runat="server" >
                    <HeaderTemplate>
                    <table width="715" border="0" cellspacing="5" cellpadding="0">
              <tr>
                <td height="22" colspan="5">&nbsp;</td>
                <td>&nbsp;</td>
                <td></td>
              </tr>
              <tr>
                <td  bgcolor="#eeeeee"><div align="center"><strong>标题</strong></div></td>
                <td bgcolor="#eeeeee"><div align="center"><strong>发贴人</strong></div></td>
                <td bgcolor="#eeeeee"><div align="center"><strong>发表时间</strong></div></td>
               
                <td bgcolor="#eeeeee"><div align="center"><strong>最后回贴人</strong></div></td>
                <td  bgcolor="#eeeeee"><div align="center"><strong>最后回贴时间</strong></div></td>
                <td  bgcolor="#eeeeee"><div align="center"><strong>回复/点击数</strong></div></td>
            
              </tr>
                       
                    </HeaderTemplate>
                    <ItemTemplate>
                    
                    
                    <tr>
                                      
  <td bgcolor="<%#Eval("bg")%>"><div align="left"><a href="Theme.aspx?Type=<%=itype %>&ThemeID=<%#Eval("ThemeID") %>">
                                                <%#Eval("ThemeTitle")%>
                                            </a></div></td>
                <td bgcolor="<%#Eval("bg")%>"><div align="center"><%#Eval("ThemeUserName")%></div></td>
                <td bgcolor="<%#Eval("bg")%>"><div align="center"><%#Eval("ThemeCreatetime")%></div></td>
          
                <td bgcolor="<%#Eval("bg")%>"><div align="center"><%#Eval("ThemeLastRevertUserName")%></div></td>
                <td bgcolor="<%#Eval("bg")%>"><div align="center"><%#Eval("ThemeLastRevertTime")%></div></td>
                <td bgcolor="<%#Eval("bg")%>"><div align="center"><%#Eval("ThemeReversionNum")%>/<%#Eval("ThemeVisitNum")%></div></td>
              </tr>
                    
                    
                       
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
          
          
          
           
            
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server"  CssClass="border_style5" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                                ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                                InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                                FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                            </webdiyer:AspNetPager>
            
          </div>
        </div>
  </div>





















</asp:Content>
